import type { UserUserInfoResult } from '@/api/user/types';

/*
 * @Author: MrLee
 * @Date: 2024-09-03 11:05:16
 * @LastEditors: MrLee
 * @LastEditTime: 2024-09-10 13:55:05
 * @Description: 请填写简介
 */
export type RoleType = '' | '*' | 'user';
export interface UserState {
  token?: string;
  role?: string;
  /* 接口过期时间 */
  expires: number;
  /* token类型 */
  tokenType: string;
  info: Partial<UserUserInfoResult>;
  tabList: any[];
}

export type providerType =
  | 'weixin'
  | 'qq'
  | 'sinaweibo'
  | 'xiaomi'
  | 'apple'
  | 'univerify'
  | undefined;
